package net.wangds.poi.excel2003.comp;

import net.wangds.log.helper.LogHelper;
import net.wangds.poi.comp.AbstractExcelComp;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.apache.poi.ss.usermodel.Workbook;
import org.springframework.core.io.ClassPathResource;
import org.springframework.core.io.Resource;
import org.springframework.stereotype.Component;

import java.io.IOException;
import java.io.InputStream;
import java.util.function.Consumer;

@Component
public class Excel2003Comp extends AbstractExcelComp {


    @Override
    protected Workbook loadWorkbook(InputStream is) throws IOException {
        return new HSSFWorkbook(is);
    }
}
